﻿<Window x:Class="PrestoDashboard.Windows.TaskTypeSelectorView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStartupLocation="CenterScreen"
        Background="#FF595959"
        ResizeMode="NoResize"
        Title="TaskTypeSelectorView" Height="300" Width="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>

        <ListBox Grid.Row="0" ItemsSource="{Binding TaskTypes}" SelectedItem="{Binding SelectedTaskType}"/>
        
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button Style="{StaticResource StandardButton}" Content="OK" Command="{Binding OkCommand}"/>
            <Button Style="{StaticResource StandardButton}" Content="Cancel" Command="{Binding CancelCommand}"/>
        </StackPanel>
        
    </Grid>
</Window>
